{% extends "layout.html" %}

{% block title %}
<title>V2EX › 登出</title>
{% endblock %}

{% block boxies %}
{% endblock %}

{% block main %}
<div class="sep20"></div>
{% if logout %}
<div class="box">
    <div class="header"><a href="/">V2EX</a> <span class="chevron">&nbsp;›&nbsp;</span> 登出</div>
    <div class="inner">

        你已经完全登出，没有任何个人信息留在这台电脑上。
        <div class="sep20"></div>
        <input type="button" class="super normal button" onclick="location.href = '/signin';" value="重新登录">

    </div>
</div>
{% else %}
<div class="box">
    {% if register %}
    <h3>注册成功，已发送验证邮件，请验证</h3>
    {% else %}
    <div class="header"><a href="/">V2EX</a> <span class="chevron">&nbsp;›&nbsp;</span> 登录 &nbsp;<li class="fa fa-lock"></li></div>
    {% if message %}
    <div class="message" onclick="$(this).slideUp('fast');">{{ message }}</div>
    {% endif %}
    <div class="cell">
        <form method="post" action="/signin">
        <table cellpadding="5" cellspacing="0" border="0" width="100%">
            <tbody><tr>
                <td width="120" align="right">用户名</td>
                <td width="auto" align="left"><input type="text" class="sl" name="username" value="" autofocus="autofocus" autocorrect="off" spellcheck="false" autocapitalize="off" placeholder="用户名或电子邮箱地址"></td>
            </tr>
            <tr>
                <td width="120" align="right">密码</td>
                <td width="auto" align="left"><input type="password" class="sl" name="password" value="" autocorrect="off" spellcheck="false" autocapitalize="off"></td>
            </tr>
            <tr>
                <td width="120" align="right"></td>
                <td width="auto" align="left"><input type="hidden" value="84155" name="once"><input type="submit" class="super normal button" value="登录"></td>
            </tr>
            <tr>
                <td width="120" align="right"></td>
                <td width="auto" align="left"><a href="/account/forgetPassword">我忘记密码了</a></td>
            </tr>
        </tbody></table>

        {# <input type="hidden" value="https://www.v2ex.com/t/357943" name="next"> #}

        </form>
    </div>
    {% endif %}

</div>
{% endif %}
{% endblock %}
